<?php

use Illuminate\Database\Seeder;

class GoodsDetailsPicTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
         DB::table('goods_details_pic')->insert([
           	            	 [ 
                                     'path' =>'images/1.jpg',
                		           'descr' =>'test nike 男鞋 1',
                		           'gid' => 1,
                		           'state' => 0,
                		           'created_at' => date('Y-m-d H:i:s'),
                		           'updated_at' => date('Y-m-d H:i:s')],
                          [ 
                                       'path' =>'images/2.jpg',
                                       'descr' =>'test nike 男鞋 2',
                                       'gid' => 2,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                          [ 
                                       'path' =>'images/3.jpg',
                                       'descr' =>'test nike 女鞋 1',
                                       'gid' => 3,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                          [ 
                                       'path' =>'images/4.jpg',
                                       'descr' =>'test nike 女鞋 2',
                                       'gid' => 4,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/5.jpg',
                                       'descr' =>'test nike 童鞋 1',
                                       'gid' => 5,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/6.jpg',
                                       'descr' =>'test nike 童鞋 2',
                                       'gid' => 6,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                          [ 
                                       'path' =>'images/7.jpg',
                                       'descr' =>'test adidas 男鞋 1',
                                       'gid' => 7,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/8.jpg',
                                       'descr' =>'test adidas 男鞋 2',
                                       'gid' => 8,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                         'path' =>'images/9.jpg',
                                       'descr' =>'test adidas 女鞋 1',
                                       'gid' => 9,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                         'path' =>'images/10.jpg',
                                       'descr' =>'test adidas 女鞋 2',
                                       'gid' => 10,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                         'path' =>'images/11.jpg',
                                       'descr' =>'test adidas 童鞋 1',
                                       'gid' => 11,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/12.jpg',
                                       'descr' =>'test adidas 童鞋 2',
                                       'gid' => 12,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                         'path' =>'images/3.jpg',
                                       'descr' =>'test NewBalance 男鞋 1',
                                       'gid' => 13,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/14.jpg',
                                       'descr' =>'test NewBalance 男鞋 2',
                                       'gid' => 14,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/15.jpg',
                                       'descr' =>'test NewBalance 女鞋 1',
                                       'gid' => 15,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/16.jpg',
                                       'descr' =>'test NewBalance 女鞋 2',
                                       'gid' => 16,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/17.jpg',
                                       'descr' =>'test NewBalance 童鞋 1',
                                       'gid' => 17,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                           [ 
                                       'path' =>'images/18.jpg',
                                       'descr' =>'test NewBalance 童鞋 2',
                                       'gid' => 18,
                                       'state' => 0,
                                       'created_at' => date('Y-m-d H:i:s'),
                                       'updated_at' => date('Y-m-d H:i:s')],
                     ]);
    }
}
